package com.gxa.dto.commlife;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 作者 yuanqiufeng
 * Date 2022/10/21
 */
@Data
public class BusinessManagementDto {
    @ApiModelProperty(value = "主键 ")
    @TableId(value = "bm_id", type = IdType.AUTO)
    private Integer bmId;

    @ApiModelProperty(value = "商家名称 ")
    @TableField("business_name")
    private String businessName;

    @ApiModelProperty(value = "商家类型 ")
    @TableField("merchant_id")
    private String typeName;

    @ApiModelProperty(value = "地址 ")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "经纬度 ")
    @TableField("latitude_and_longitude")
    private String latitudeAndLongitude;

    @ApiModelProperty(value = "营业时间 ")
    @TableField("business_hours")
    private String businessHours;

    @ApiModelProperty(value = "营业内容 ")
    @TableField("business_content")
    private String businessContent;

    @ApiModelProperty(value = "状态(0:营业中,1:装修中,2:停业中) ")
    @TableField("state")
    private Integer state;

    @ApiModelProperty(value = "商家类型ID ")
    @TableField("merchant_id")
    private Integer merchantId;

}
